.menu
	content_for('menu') do
	= link_to "Back to index", :index
	= link_to "Status", :status
	= link_to "Logout"{:controller => :session,:action => :logout}
<%= link_to "Get my submits", :action => :status,:user => session[:user].user_id%>
<%= link_to "View Status", :action => :status%>
<%= link_to "Make another submit", :controller => :runs,:action => :new%>
<%= link_to "View contests", :action => :view_contests%>
<%= link_to "View all problems",:action => :show_problems%>
<%= link_to("Go to main admin page",:action => :index,:controller=>:spoj1_admin) if admin?(session[:user])%>
<%= link_to "Logout",:controller => :session,:action => :logout%>

